From: Alban Browaeys Date: Fri, 25 May 2012 09:15:57 +0000 (+0200) Subject: telepathyClient: fix isChat X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~6547 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ba4b9f229e52df5ad193dd242a0268888be88d60;p=gnome-shell.git telepathyClient: fix isChat As part of commit 9e1a2cf the parent _init was moved before the isChat was set to true. As the parent set it to false isChat is never true since this commit. https://bugzilla.gnome.org/show_bug.cgi?id=676806 --- diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js index c38b3f79d..f54e4c000 100644 --- a/js/ui/telepathyClient.js +++ b/js/ui/telepathyClient.js @@ -420,14 +420,13 @@ const ChatSource = new Lang.Class({ Extends: MessageTray.Source, _init: function(account, conn, channel, contact, client) { - this.isChat = true; - this._account = account; this._contact = contact; this._client = client; this.parent(contact.get_alias()); + this.isChat = true; this._pendingMessages = []; this._conn = conn;